package com.example.mybatisplusclass2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author coolwen
 * @since 2024-03-19 15:00:17
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_student")
public class Student {

      @TableId(value = "sid", type = IdType.AUTO)
    private Integer sid;

    @TableField("sname")
    private String sname;

    @TableField("age")
    private Integer age;

    @TableField("course")
    private String course;

    @TableField(value = "balance",exist = false)
    private Object balance;
}
